package com.ainiyar.springweb.pojo.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;

import java.time.LocalDateTime;

/**************************************
 * File Name : ImgFiles
 * Created with : IntelliJ IDEA.
 * Author : 艾尼亚尔·毛拉吾提
 * QQ : 524155792  WeChat : ainiyar0124
 * Created Time : 2024/2/19  19:41
 * Desc :图片管理
 ***************************************/
@Data
@Table("sw_img_file")
public class ImgFiles {
    @Id(keyType = KeyType.Auto)
    private Integer id;
    private String name;
    private Integer groupId;
    private String src;
    private String thumb;
    @Column(onInsertValue = "NOW()")
    private LocalDateTime createTime;
}

